package com.ruoyi.system.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 盘点明细对象 inventory_check_info
 * 
 * @author ruoyi
 * @date 2025-02-13
 */
public class InventoryCheckInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Long id;

    /** 盘点单ID */
    @Excel(name = "盘点单ID")
    private Long inventoryCheckId;

    /** 产品名称 */
    @Excel(name = "产品名称")
    private String productName;

    /** 产品编码 */
    @Excel(name = "产品编码")
    private String productCode;

    /** 规格 */
    @Excel(name = "规格")
    private String productSpec;

    /** 批次 */
    @Excel(name = "批次")
    private String batchNo;

    /** 库位 */
    @Excel(name = "库位")
    private Long warehouseId;

    /** 库存 */
    @Excel(name = "库存")
    private BigDecimal stockQuantity;

    /** 盘点数 */
    @Excel(name = "盘点数")
    private BigDecimal checkQuantity;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setInventoryCheckId(Long inventoryCheckId) 
    {
        this.inventoryCheckId = inventoryCheckId;
    }

    public Long getInventoryCheckId() 
    {
        return inventoryCheckId;
    }
    public void setProductName(String productName) 
    {
        this.productName = productName;
    }

    public String getProductName() 
    {
        return productName;
    }
    public void setProductCode(String productCode) 
    {
        this.productCode = productCode;
    }

    public String getProductCode() 
    {
        return productCode;
    }
    public void setProductSpec(String productSpec) 
    {
        this.productSpec = productSpec;
    }

    public String getProductSpec() 
    {
        return productSpec;
    }
    public void setBatchNo(String batchNo) 
    {
        this.batchNo = batchNo;
    }

    public String getBatchNo() 
    {
        return batchNo;
    }
    public void setWarehouseId(Long warehouseId) 
    {
        this.warehouseId = warehouseId;
    }

    public Long getWarehouseId() 
    {
        return warehouseId;
    }
    public void setStockQuantity(BigDecimal stockQuantity) 
    {
        this.stockQuantity = stockQuantity;
    }

    public BigDecimal getStockQuantity() 
    {
        return stockQuantity;
    }
    public void setCheckQuantity(BigDecimal checkQuantity) 
    {
        this.checkQuantity = checkQuantity;
    }

    public BigDecimal getCheckQuantity() 
    {
        return checkQuantity;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("inventoryCheckId", getInventoryCheckId())
            .append("productName", getProductName())
            .append("productCode", getProductCode())
            .append("productSpec", getProductSpec())
            .append("batchNo", getBatchNo())
            .append("warehouseId", getWarehouseId())
            .append("stockQuantity", getStockQuantity())
            .append("checkQuantity", getCheckQuantity())
            .toString();
    }
}
